<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>Test.html</title>

    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">

    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
    <script type="text/javascript">
        onload = function () {
            let number = 0;

            function fun() {
                number++;
                if (number > 20) {

                    number = 0
                }
                let img = document.getElementById("img");
                img.src = `imgs/${number}.jpg`;

            }
        setInterval(() => fun() ,1000);
        }
    </script>
</head>
<body>
<div>

    <img id="img" alt="图片找不到" src="imgs/0.jpg">
</div>


</body>
</html>
